package hzn.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController//controller+responsebody
public class Demo1Ctrl {
    @RequestMapping("hello")
    public String m1(){
        return "丈夫在世当有为";
    }
}
